<?php

namespace App\Http\Controllers\Api\v1;


use App\Models\Configuration;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Http;


class HomeController extends Controller
{

    public function links(Request $request){
        $data['links'] = [
            "shopCenter" => Configuration::getItem('links_shopCenter'),
            "goodsList" => Configuration::getItem('links_goodsList'),
            "orderList" => Configuration::getItem('links_orderList'),

        ];
        $jsonstr = json_encode($data);
        echo base64_encode($jsonstr);
    }
}
